| API Documentation |  |

- MAIN PAGE
- NAMESPACES
- CLASSES

ShaderInstanceCustomSlot.h
1 // ShaderInstanceCustomSlot.h
3 //
5
6 namespace nkGraphics
7 {
11 class ShaderInstanceCustomSlot
12 {
13 public :
14
18 ShaderInstanceCustomSlot () noexcept ;
22 virtual ~ShaderInstanceCustomSlot () ;
23
24 // Getters
28 nkMemory::StringView getTypeName () const ;
32 nkMemory::StringView getSemanticName () const ;
33
34 // Setters
40 void setSemanticName (nkMemory::StringView value) ;
41
45 virtual unsigned int getDataByteSize () = 0 ;
52 virtual void fillDataBuffer (Entity* caller, void* buffer) = 0 ;
53 } ;
54 }
nkGraphics::ShaderInstanceCustomSlot::ShaderInstanceCustomSlot
ShaderInstanceCustomSlot() noexcept
nkGraphics::ShaderInstanceCustomSlot
A custom slot, implementable by external code.
Definition: ShaderInstanceCustomSlot.h:12
nkGraphics::ShaderInstanceCustomSlot::setSemanticName
void setSemanticName(nkMemory::StringView value)
nkGraphics::ShaderInstanceCustomSlot::getDataByteSize
virtual unsigned int getDataByteSize()=0
nkGraphics::ShaderInstanceCustomSlot::getSemanticName
nkMemory::StringView getSemanticName() const
nkGraphics::Entity
An entity in a render queue. It drives the shader and possible graph position for a set of renderable...
Definition: Entity.h:15
nkGraphics::ShaderInstanceCustomSlot::fillDataBuffer
virtual void fillDataBuffer(Entity *caller, void *buffer)=0
nkGraphics
Encompasses all API of component NilkinsGraphics.
Definition: BoundingBox.h:7
nkGraphics::ShaderInstanceCustomSlot::getTypeName
nkMemory::StringView getTypeName() const
nkMemory
Encompasses all API of component NilkinsMemory.
Definition: Allocator.h:7